home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
016a
/
skipper1.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-08-01
|
1KB
|
56 lines
ECHO OFF
IF %1!==! GOTO ERR
:Create directory named SKIPPER in the root directory of the
:specified disk and copy all SKIPPER system files to the new
:directory execept for:
: SKR.BAT which is copied to the root directory, and
: INSTALL.BAT which is not copied at all.
: RECYCLE.COM which is copied by the user to the desired directory
: SAMPLE.MOD which is copied by the user to the desired directory
FOR %%A IN (A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z) DO IF %%A==%1 GOTO EXECUTE
FOR %%A IN (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) DO IF %%A==%1 GOTO EXECUTE
:Here if user specifies drive identifier thus: A:
MD %1\SKIPPER
COPY SKR.BAT %1\
IF NOT EXIST %1\SKR.BAT GOTO ERR2
COPY SKIPPER.COM %1\SKIPPER
COPY SKIPPER.OVL %1\SKIPPER
COPY INITSKR.COM %1\SKIPPER
COPY SETUP.COM %1\SKIPPER
COPY DOSERR.MSG %1\SKIPPER
COPY *.HLP %1\SKIPPER
COPY *.SCR %1\SKIPPER
GOTO DONE
:ERR
ECHO Please specify the drive letter where SKIPPER is to be installed.
ECHO It will generaly be B or C. Thus enter INSTALL C or INSTALL C:
GOTO END
:ERR2
ECHO %1 is an invalid drive
GOTO END
:EXECUTE
MD %1:\SKIPPER
COPY SKR.BAT %1:\
IF NOT EXIST %1:\SKR.BAT GOTO ERR2
COPY SKIPPER.COM %1:\SKIPPER
COPY SKIPPER.OVL %1:\SKIPPER
COPY INITSKR.COM %1:\SKIPPER
COPY SETUP.COM %1:\SKIPPER
COPY DOSERR.MSG %1:\SKIPPER
COPY *.HLP %1:\SKIPPER
COPY *.SCR %1:\SKIPPER
:DONE
ECHO SKIPPER has been successfully installed.
:END